package com.fastCms.business.mall.pojo.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <p>
 * 企业员工福利表
 * </p>
 *
 * @author lsquan
 * @since 2019-05-27
 */
@ApiModel(value = "ProductPickDetail对象", description = "产品提货码")
@Data
public class ProductPickDetailPO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "组织编码")
    private String organizeCode;

    @ApiModelProperty(value = "产品ID")
    private String productId;

    @ApiModelProperty(value = "商品sku_attr")
    private String skuAttr;

    @ApiModelProperty(value = "核销人")
    private String custId;

    @ApiModelProperty(value = "用户手机号码")
    private String custPhone;

    @ApiModelProperty(value = "核销码")
    private String pickCode;

    @ApiModelProperty(value = "核销时间")
    private Date usedTime;

    @ApiModelProperty(value = "核销人姓名")
    private String usedName;

    @ApiModelProperty(value = "核销人手机号码")
    private String usedPhone;

    @ApiModelProperty(value = "核销方式(1-小程序2-线下核销）")
    private Integer usedMethod;

    @ApiModelProperty(value = "绑定状态(1-未绑定2-已绑定）")
    private Integer bindStatus;

    @ApiModelProperty(value = "福利分享转赠状态(1-分享中 2-已领取)")
    private String shareStatus;

    @ApiModelProperty(value = "使用失效时间")
    private Date expireTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "1-正常0-已删除")
    private Integer state;
}
